<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/jsp/declare.jsp" %>

<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath %>" />
	<title>编辑-小区</title>
	<%@ include file="/common/jsp/common.jsp" %>

	<script>
	function rowEdit() {
		redirect("mvc/master/bedList.htm");
	}
	</script>
</head>
<body id="room" class="bg-grey">
	<div class="picBar">
		<img src="aizu/images/room/room.jpg" />
	</div>
	<form action="mvc/master/${!empty id ? id : '0' }/communityEdit.htm" method="post">
		<input type="hidden" name="fromUserName" value="${param.fromUserName }" />
		<input type="hidden" name="id" />
		<div class="frame">
			<div class="row">
				<input type="text" name="name" placeholder="请输入小区名称" class="input" />
			</div>
			<div class="row">
				<input type="text" name="longitude" placeholder="请输入经度" class="input" />
			</div>
			<div class="row">
				<input type="text" name="latitude" placeholder="请输入纬度" class="input" />
			</div>
			<div class="row">
				<div name="dept_id" class="select" data='${communityListJson }' modal="false"
					option="{textField:'name',valueField:'id',notnull:true}" defaultText="请选择社区">
				</div>
			</div>
			<div class="row">
				<input type="text" name="address" placeholder="请输入地址" class="input" />
			</div>
			<div class="row">
				<input type="text" name="remark" placeholder="请输入备注" class="input" />
			</div>

			<div class="button-bar">
				<div class="button-bar center fixed bottom">
					<input type="submit" value="保存" class="submit" />
				</div>
			</div>
		</div>
	</form>
</body>
</html>